// var TN_Widget = function() { var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; return { newWindow : true, CreateEventRow : function(row, isAlt) { var t = row[4].split("/"); t[0] = months[t[0]]; t[2] = ", " + t[2]; return "

" + t[0] + " " + "" + t[1] + "" + t[2] + "

" + row[3].substring(0,3) + " " + row[5] + "

" + row[0] + "

" + row[1] + " - " + row[2] + "

" + this.btnText + "" + ""; }, AddCss: function(cssUrl) { var fileref=document.createElement("link"); fileref.setAttribute("rel", "stylesheet"); fileref.setAttribute("type", "text/css"); fileref.setAttribute("href", cssUrl); document.getElementsByTagName("head")[0].appendChild(fileref); }, CreateTable : function(eventData,kwds,url) { if(typeof(TN_SetWidgetOptions) == "function") TN_SetWidgetOptions(); //for backwards compatability var newTable = []; for(var cntr = 0; cntr < eventData.length; cntr++) newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1)); var objToAddTo; var footerLink = "" + this.footerText + ""; if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
"; } else if(document.querySelector(".tnpl_results_container") != null) { document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
"; } else document.write("
" + newTable.join('') + "" + footerLink + "
"); } }; }(); //BPW-TNSERV-04A TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css'); TN_Widget.CreateTable([['Opry Country Classics: The Gatlin Brothers, Chris Janson & Jamey Johnson','Grand Ole Opry House','Nashville, TN','Thursday','5/9/2024','7:00 PM','6263702','Opry-Country-Classics--The-Gatlin-Brothers--Chris-Janson---Jamey-Johnson-5-9-2024'],['Jamey Johnson','St. Augustine Amphitheatre','St. Augustine, FL','Thursday','6/20/2024','6:00 PM','6383908','Jamey-Johnson-6-20-2024'],['Jamey Johnson','England Brothers Bandshell Park','Pinellas Park, FL','Friday','6/21/2024','5:30 PM','6386798','Jamey-Johnson-6-21-2024'],['Jamey Johnson','Apopka Amphitheater','Apopka, FL','Saturday','6/22/2024','5:30 PM','6384625','Jamey-Johnson-6-22-2024'],['Jamey Johnson','Abacoa Town Center Amphitheatre','Jupiter, FL','Sunday','6/23/2024','5:30 PM','6384936','Jamey-Johnson-6-23-2024'],['Jamey Johnson','Brandon Amphitheater','Brandon, MS','Thursday','6/27/2024','7:00 PM','6383911','Jamey-Johnson-6-27-2024'],['Jamey Johnson','FirstBank Amphitheater','Franklin, TN','Friday','6/28/2024','8:00 PM','6383914','Jamey-Johnson-6-28-2024'],['Jamey Johnson','Brushy Mountain State Penitentiary','Petros, TN','Saturday','6/29/2024','8:00 PM','6386789','Jamey-Johnson-6-29-2024'],['Jamey Johnson','Stone Pony Summer Stage','Asbury Park, NJ','Wednesday','7/10/2024','6:00 PM','6383956','Jamey-Johnson-7-10-2024'],['Jamey Johnson','Premier Theater At Foxwoods','Mashantucket, CT','Thursday','7/11/2024','7:30 PM','6383959','Jamey-Johnson-7-11-2024']],'"jamey johnson"','https://www.ticketnetwork.com');